/**
  * @Description: WoShop商城
  * @Author: 梧桐
  * @Copyright: 武汉一一零七科技有限公司©版权所有
  * @Link: www.wo-shop.net
  * @Contact: QQ:2487937004
  */
<template>
  <div v-if="pageShow">
    <image @click="preview" :src="src" />
  </div>
</template>

<script>
  export default {
    data () {
      return {
        src: '',
        pageShow: false
      }
    },

    onLoad () {
    },

    methods: {
      preview () {
        uni.previewImage({
          current: 0,
          urls: [this.src]
        })
      }
    }
  }
</script>

<style>

</style>
